import request from "./../utils/request.js";

// 获取手机验证码
export const getMobileCode = (params) => {
  return request.post('/user/api/user/send/code', params)
}
// 用户注册
export const register = (params={}) => {
  return request.post('/api/v1/user/register', params)
}
// 用户登录
export const userLogin = (params={}) => {
  // return request.post('/user/api/user/login/password', params)
  return request.post('/api/v1/user/login', params)
}
// 用户信息
export const getUserInfo = (params={}) => {
  return request.post('/user/auth/user/ext/view', params)
}
